# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=spooftooph
pkgver=0.5.2
pkgrel=4
groups=('blackarch' 'blackarch-bluetooth')
pkgdesc='Designed to automate spoofing or cloning Bluetooth device Name, Class, and Address. Cloning this information effectively allows Bluetooth device to hide in plain sight.'
arch=('x86_64' 'aarch64')
url='http://www.hackfromacave.com/projects/spooftooph.html'
license=('GPL')
depends=('bluez' 'bluez-libs' 'ncurses')
makedepends=('make')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('57716234b30d54e88112d70fbc5ff8845f6ccb03df8e52d40cb38b23ca6cb54d4c13dc167969f4e2b8750ff45d214b148d08a8163339c82b83e946e791edddb7')

build() {
  cd $pkgname

  make
}

package() {
  cd $pkgname

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/spooftooph/" README CHANGELOG
}

